package org.code.generator.controller;

import java.util.concurrent.atomic.AtomicInteger;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.slf4j.Slf4j;

@RestController
@Slf4j
public class TestController {
	AtomicInteger a = new AtomicInteger(0);
	
	@RequestMapping("/test")
	public String getRest() {
		log.info("Hello:"+a.getAndIncrement());
		return "Hello";
	}
}
